package com.wechat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.sql.Timestamp;

@Data
@TableName("answers")
public class Answer {
    @TableId(type = IdType.INPUT)
    private Long id;
    private String content;
    private Long questionId;
    private Long userId;
    private Timestamp createdAt;
}